package gson.emlog.activity;

import gson.emlog.R;
import gson.emlog.adapter.SpinnerAdapter;
import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.Spinner;

public class Write extends Activity {

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.write);
		
		Spinner sort = (Spinner) findViewById(R.id.logSort);
		String[] items = new String[]{"生活","科技","吐槽"};
		SpinnerAdapter st = new SpinnerAdapter(this,items);
		sort.setAdapter(st);
		
		Button send = (Button) findViewById(R.id.logSend);
		send.setOnClickListener(sendListener);
	}
	
	private OnClickListener sendListener = new OnClickListener(){
		public void onClick(View v) {
			
		}
	};
}
